home *** CD-ROM | disk | FTP | other *** search
/ Freelog 117 / FreelogNo117-OctobreNovembre2013.iso / Programmation / jedit / jedit5.1.0install.exe / {app} / modes / asp.xml < prev    next >
Extensible Markup Language  |  2013-07-28  |  13KB  |  519 lines

  1. <?xml version="1.0"?>
  2.  
  3. <!DOCTYPE MODE SYSTEM "xmode.dtd">
  4.  
  5. <!-- ASP mode by Andre Kaplan
  6.      Updated by Simon Ruggier    -->
  7. <MODE>
  8.     <PROPS>
  9.         <PROPERTY NAME="commentStart" VALUE="<!--" />
  10.         <PROPERTY NAME="commentEnd" VALUE="-->" />
  11.     </PROPS>
  12.  
  13.     <RULES IGNORE_CASE="TRUE">
  14.         <SEQ TYPE="MARKUP" DELEGATE="ASPVB"><%@LANGUAGE="VBSCRIPT"%</SEQ>
  15.         <SEQ TYPE="MARKUP" DELEGATE="ASPJS"><%@LANGUAGE="JSCRIPT"%</SEQ>
  16.         <SEQ TYPE="MARKUP" DELEGATE="ASPJS"><%@LANGUAGE="JAVASCRIPT"%</SEQ>
  17.         <SEQ TYPE="MARKUP" DELEGATE="ASPPL"><%@LANGUAGE="PERLSCRIPT"%</SEQ>
  18.  
  19.         <!-- Inlined server-side VBScript -->
  20.         <SPAN TYPE="MARKUP" DELEGATE="vbscript::MAIN">
  21.             <BEGIN><%</BEGIN>
  22.             <END>%></END>
  23.         </SPAN>
  24.  
  25.         <!-- Server-side VBScript -->
  26.         <SPAN TYPE="MARKUP" DELEGATE="vbscript::MAIN">
  27.             <BEGIN><script language="vbscript" runat="server"></BEGIN>
  28.             <END></script></END>
  29.         </SPAN>
  30.  
  31.         <!-- Server-side Javascript -->
  32.         <SPAN TYPE="MARKUP" DELEGATE="javascript::MAIN">
  33.             <BEGIN><script language="jscript" runat="server"></BEGIN>
  34.             <END></script></END>
  35.         </SPAN>
  36.  
  37.         <SPAN TYPE="MARKUP" DELEGATE="javascript::MAIN">
  38.             <BEGIN><script language="javascript" runat="server"></BEGIN>
  39.             <END></script></END>
  40.         </SPAN>
  41.  
  42.         <!-- Server-side PerlScript -->
  43.         <SPAN TYPE="MARKUP" DELEGATE="perl::MAIN">
  44.             <BEGIN><script language="perlscript" runat="server"></BEGIN>
  45.             <END></script></END>
  46.         </SPAN>
  47.  
  48.         <!-- Client-side javascript -->
  49.         <SPAN TYPE="MARKUP" DELEGATE="ASPVB_CSJS">
  50.             <BEGIN><script language="jscript"></BEGIN>
  51.             <END></script></END>
  52.         </SPAN>
  53.  
  54.         <SPAN TYPE="MARKUP" DELEGATE="ASPVB_CSJS">
  55.             <BEGIN><script language="javascript"></BEGIN>
  56.             <END></script></END>
  57.         </SPAN>
  58.  
  59.         <SPAN TYPE="MARKUP" DELEGATE="ASPVB_CSJS">
  60.             <BEGIN><script></BEGIN>
  61.             <END></script></END>
  62.         </SPAN>
  63.  
  64.         <!-- Server-Side include -->
  65.         <SPAN TYPE="MARKUP">
  66.             <BEGIN><!--#</BEGIN>
  67.             <END>--></END>
  68.         </SPAN>
  69.  
  70.         <!-- SGML comment -->
  71.         <SPAN TYPE="COMMENT1" DELEGATE="ASPVB_SGML">
  72.             <BEGIN><!--</BEGIN>
  73.             <END>--></END>
  74.         </SPAN>
  75.  
  76.         <!-- stylesheet -->
  77.         <SPAN TYPE="MARKUP" DELEGATE="ASPVB_STYLE">
  78.             <BEGIN><STYLE></BEGIN>
  79.             <END></STYLE></END>
  80.         </SPAN>
  81.  
  82.         <!-- markup tags -->
  83.         <SPAN TYPE="MARKUP" DELEGATE="ASPVB_TAGS">
  84.             <BEGIN><</BEGIN>
  85.             <END>></END>
  86.         </SPAN>
  87.  
  88.         <!-- SGML entities -->
  89.         <SPAN TYPE="LITERAL2" NO_WORD_BREAK="TRUE">
  90.             <BEGIN>&</BEGIN>
  91.             <END>;</END>
  92.         </SPAN>
  93.     </RULES>
  94.  
  95.     <!-- ******************************************************************
  96.          ASP with VBScript as default script engine
  97.          ****************************************************************** -->
  98.     <RULES SET="ASPVB" IGNORE_CASE="TRUE">
  99.         <!-- Inlined server-side VBScript -->
  100.         <SPAN TYPE="MARKUP" DELEGATE="vbscript::MAIN">
  101.             <BEGIN><%</BEGIN>
  102.             <END>%></END>
  103.         </SPAN>
  104.  
  105.         <!-- Server-side VBScript -->
  106.         <SPAN TYPE="MARKUP" DELEGATE="vbscript::MAIN">
  107.             <BEGIN><script language="vbscript" runat="server"></BEGIN>
  108.             <END></script></END>
  109.         </SPAN>
  110.  
  111.         <!-- Server-side Javascript -->
  112.         <SPAN TYPE="MARKUP" DELEGATE="javascript::MAIN">
  113.             <BEGIN><script language="jscript" runat="server"></BEGIN>
  114.             <END></script></END>
  115.         </SPAN>
  116.  
  117.         <SPAN TYPE="MARKUP" DELEGATE="javascript::MAIN">
  118.             <BEGIN><script language="javascript" runat="server"></BEGIN>
  119.             <END></script></END>
  120.         </SPAN>
  121.  
  122.         <!-- Server-side PerlScript -->
  123.         <SPAN TYPE="MARKUP" DELEGATE="perl::MAIN">
  124.             <BEGIN><script language="perlscript" runat="server"></BEGIN>
  125.             <END></script></END>
  126.         </SPAN>
  127.  
  128.         <!-- Client-side javascript -->
  129.         <SPAN TYPE="MARKUP" DELEGATE="ASPVB_CSJS">
  130.             <BEGIN><script language="jscript"</BEGIN>
  131.             <END></script></END>
  132.         </SPAN>
  133.  
  134.         <SPAN TYPE="MARKUP" DELEGATE="ASPVB_CSJS">
  135.             <BEGIN><script language="javascript"</BEGIN>
  136.             <END></script></END>
  137.         </SPAN>
  138.  
  139.         <SPAN TYPE="MARKUP" DELEGATE="ASPVB_CSJS">
  140.             <BEGIN><script></BEGIN>
  141.             <END></script></END>
  142.         </SPAN>
  143.  
  144.         <!-- Server-Side include -->
  145.         <SPAN TYPE="MARKUP">
  146.             <BEGIN><!--#</BEGIN>
  147.             <END>--></END>
  148.         </SPAN>
  149.  
  150.         <!-- SGML comment -->
  151.         <SPAN TYPE="COMMENT1" DELEGATE="ASPVB_SGML">
  152.             <BEGIN><!--</BEGIN>
  153.             <END>--></END>
  154.         </SPAN>
  155.  
  156.         <!-- stylesheet -->
  157.         <SPAN TYPE="MARKUP" DELEGATE="ASPVB_STYLE">
  158.             <BEGIN><STYLE></BEGIN>
  159.             <END></STYLE></END>
  160.         </SPAN>
  161.  
  162.         <!-- markup tags -->
  163.         <SPAN TYPE="MARKUP" DELEGATE="ASPVB_TAGS">
  164.             <BEGIN></</BEGIN>
  165.             <END>></END>
  166.         </SPAN>
  167.  
  168.         <SPAN TYPE="MARKUP" DELEGATE="ASPVB_TAGS">
  169.             <BEGIN><</BEGIN>
  170.             <END>></END>
  171.         </SPAN>
  172.  
  173.         <!-- SGML entities -->
  174.         <SPAN TYPE="LITERAL2" NO_WORD_BREAK="TRUE">
  175.             <BEGIN>&</BEGIN>
  176.             <END>;</END>
  177.         </SPAN>
  178.     </RULES>
  179.  
  180.     <!-- ******************************************************************
  181.          ASP with JScript as default script engine
  182.          ****************************************************************** -->
  183.     <RULES SET="ASPJS" IGNORE_CASE="TRUE">
  184.         <!-- Inlined server-side Javascript -->
  185.         <SPAN TYPE="MARKUP" DELEGATE="javascript::MAIN">
  186.             <BEGIN><%</BEGIN>
  187.             <END>%></END>
  188.         </SPAN>
  189.  
  190.         <!-- Server-side VBScript -->
  191.         <SPAN TYPE="MARKUP" DELEGATE="vbscript::MAIN">
  192.             <BEGIN><script language="vbscript" runat="server"></BEGIN>
  193.             <END></script></END>
  194.         </SPAN>
  195.  
  196.         <!-- Server-side Javascript -->
  197.         <SPAN TYPE="MARKUP" DELEGATE="javascript::MAIN">
  198.             <BEGIN><script language="jscript" runat="server"></BEGIN>
  199.             <END></script></END>
  200.         </SPAN>
  201.  
  202.         <SPAN TYPE="MARKUP" DELEGATE="javascript::MAIN">
  203.             <BEGIN><script language="javascript" runat="server"></BEGIN>
  204.             <END></script></END>
  205.         </SPAN>
  206.  
  207.         <!-- Server-side PerlScript -->
  208.         <SPAN TYPE="MARKUP" DELEGATE="perl::MAIN">
  209.             <BEGIN><script language="perlscript" runat="server"></BEGIN>
  210.             <END></script></END>
  211.         </SPAN>
  212.  
  213.         <!-- Client-side javascript -->
  214.         <SPAN TYPE="MARKUP" DELEGATE="ASPJS_CSJS">
  215.             <BEGIN><script language="jscript"</BEGIN>
  216.             <END></script></END>
  217.         </SPAN>
  218.  
  219.         <SPAN TYPE="MARKUP" DELEGATE="ASPJS_CSJS">
  220.             <BEGIN><script language="javascript"</BEGIN>
  221.             <END></script></END>
  222.         </SPAN>
  223.  
  224.         <SPAN TYPE="MARKUP" DELEGATE="ASPJS_CSJS">
  225.             <BEGIN><script></BEGIN>
  226.             <END></script></END>
  227.         </SPAN>
  228.  
  229.         <!-- Server-Side include -->
  230.         <SPAN TYPE="MARKUP">
  231.             <BEGIN><!--#</BEGIN>
  232.             <END>--></END>
  233.         </SPAN>
  234.  
  235.         <!-- SGML comment -->
  236.         <SPAN TYPE="COMMENT1" DELEGATE="ASPJS_SGML">
  237.             <BEGIN><!--</BEGIN>
  238.             <END>--></END>
  239.         </SPAN>
  240.  
  241.         <!-- stylesheet -->
  242.         <SPAN TYPE="MARKUP" DELEGATE="ASPJS_STYLE">
  243.             <BEGIN><STYLE></BEGIN>
  244.             <END></STYLE></END>
  245.         </SPAN>
  246.  
  247.         <!-- markup tags -->
  248.         <SPAN TYPE="MARKUP" DELEGATE="ASPJS_TAGS">
  249.             <BEGIN></</BEGIN>
  250.             <END>></END>
  251.         </SPAN>
  252.  
  253.         <SPAN TYPE="MARKUP" DELEGATE="ASPJS_TAGS">
  254.             <BEGIN><</BEGIN>
  255.             <END>></END>
  256.         </SPAN>
  257.  
  258.         <!-- SGML entities -->
  259.         <SPAN TYPE="LITERAL2" NO_WORD_BREAK="TRUE">
  260.             <BEGIN>&</BEGIN>
  261.             <END>;</END>
  262.         </SPAN>
  263.     </RULES>
  264.  
  265.     <!-- ******************************************************************
  266.          ASP with PerlScript as default script engine
  267.          ****************************************************************** -->
  268.     <RULES SET="ASPPL" IGNORE_CASE="TRUE">
  269.         <!-- Inlined server-side Perlscript -->
  270.         <SPAN TYPE="MARKUP" DELEGATE="perl::MAIN">
  271.             <BEGIN><%</BEGIN>
  272.             <END>%></END>
  273.         </SPAN>
  274.  
  275.         <!-- Server-side VBScript -->
  276.         <SPAN TYPE="MARKUP" DELEGATE="vbscript::MAIN">
  277.             <BEGIN><script language="vbscript" runat="server"></BEGIN>
  278.             <END></script></END>
  279.         </SPAN>
  280.  
  281.         <!-- Server-side Javascript -->
  282.         <SPAN TYPE="MARKUP" DELEGATE="javascript::MAIN">
  283.             <BEGIN><script language="jscript" runat="server"></BEGIN>
  284.             <END></script></END>
  285.         </SPAN>
  286.  
  287.         <SPAN TYPE="MARKUP" DELEGATE="javascript::MAIN">
  288.             <BEGIN><script language="javascript" runat="server"</BEGIN>
  289.             <END></script></END>
  290.         </SPAN>
  291.  
  292.         <!-- Server-side PerlScript -->
  293.         <SPAN TYPE="MARKUP" DELEGATE="perl::MAIN">
  294.             <BEGIN><script language="perlscript" runat="server"></BEGIN>
  295.             <END></script></END>
  296.         </SPAN>
  297.  
  298.         <!-- Client-side javascript -->
  299.         <SPAN TYPE="MARKUP" DELEGATE="ASPPL_CSJS">
  300.             <BEGIN><script language="jscript"</BEGIN>
  301.             <END></script></END>
  302.         </SPAN>
  303.  
  304.         <SPAN TYPE="MARKUP" DELEGATE="ASPPL_CSJS">
  305.             <BEGIN><script language="javascript"</BEGIN>
  306.             <END></script></END>
  307.         </SPAN>
  308.  
  309.         <SPAN TYPE="MARKUP" DELEGATE="ASPPL_CSJS">
  310.             <BEGIN><script></BEGIN>
  311.             <END></script></END>
  312.         </SPAN>
  313.  
  314.         <!-- Server-Side include -->
  315.         <SPAN TYPE="MARKUP">
  316.             <BEGIN><!--#</BEGIN>
  317.             <END>--></END>
  318.         </SPAN>
  319.  
  320.         <!-- SGML comment -->
  321.         <SPAN TYPE="COMMENT1" DELEGATE="ASPPL_SGML">
  322.             <BEGIN><!--</BEGIN>
  323.             <END>--></END>
  324.         </SPAN>
  325.  
  326.         <!-- stylesheet -->
  327.         <SPAN TYPE="MARKUP" DELEGATE="ASPPL_STYLE">
  328.             <BEGIN><STYLE></BEGIN>
  329.             <END></STYLE></END>
  330.         </SPAN>
  331.  
  332.         <!-- markup tags -->
  333.         <SPAN TYPE="MARKUP" DELEGATE="ASPPL_TAGS">
  334.             <BEGIN></</BEGIN>
  335.             <END>></END>
  336.         </SPAN>
  337.  
  338.         <SPAN TYPE="MARKUP" DELEGATE="ASPPL_TAGS">
  339.             <BEGIN><</BEGIN>
  340.             <END>></END>
  341.         </SPAN>
  342.  
  343.         <!-- SGML entities -->
  344.         <SPAN TYPE="LITERAL2" NO_WORD_BREAK="TRUE">
  345.             <BEGIN>&</BEGIN>
  346.             <END>;</END>
  347.         </SPAN>
  348.     </RULES>
  349.  
  350.     <!-- ******************************************************************
  351.          HTML Tags
  352.          ****************************************************************** -->
  353.     <RULES SET="ASPVB_TAGS" DEFAULT="MARKUP">
  354.         <!-- Server-side VBScript -->
  355.         <SPAN TYPE="MARKUP" DELEGATE="vbscript::MAIN">
  356.             <BEGIN><%</BEGIN>
  357.             <END>%></END>
  358.         </SPAN>
  359.  
  360.         <SPAN TYPE="LITERAL1" DELEGATE ="ASPVB_LIT1">
  361.             <BEGIN>"</BEGIN>
  362.             <END>"</END>
  363.         </SPAN>
  364.  
  365.         <SPAN TYPE="LITERAL1" DELEGATE ="ASPVB_LIT1">
  366.             <BEGIN>'</BEGIN>
  367.             <END>'</END>
  368.         </SPAN>
  369.  
  370.         <SEQ TYPE="OPERATOR">=</SEQ>        
  371.     </RULES>
  372.  
  373.     <RULES SET="ASPVB_LIT1" DEFAULT="LITERAL1">
  374.         <!-- Server-side VBScript -->
  375.         <SPAN TYPE="MARKUP" DELEGATE="vbscript::MAIN">
  376.             <BEGIN><%</BEGIN>
  377.             <END>%></END>
  378.         </SPAN>
  379.     </RULES>
  380.  
  381.     <RULES SET="ASPJS_TAGS" DEFAULT="MARKUP">
  382.         <!-- Server-side JavaScript -->
  383.         <SPAN TYPE="MARKUP" DELEGATE="javascript::MAIN">
  384.             <BEGIN><%</BEGIN>
  385.             <END>%></END>
  386.         </SPAN>
  387.  
  388.         <SPAN TYPE="LITERAL1" DELEGATE ="ASPJS_LIT1">
  389.             <BEGIN>"</BEGIN>
  390.             <END>"</END>
  391.         </SPAN>
  392.  
  393.         <SPAN TYPE="LITERAL1" DELEGATE ="ASPJS_LIT1">
  394.             <BEGIN>'</BEGIN>
  395.             <END>'</END>
  396.         </SPAN>
  397.  
  398.         <SEQ TYPE="OPERATOR">=</SEQ>        
  399.     </RULES>
  400.     
  401.     <RULES SET="ASPJS_LIT1" DEFAULT="LITERAL1">
  402.         <!-- Server-side JavaScript -->
  403.         <SPAN TYPE="MARKUP" DELEGATE="javascript::MAIN">
  404.             <BEGIN><%</BEGIN>
  405.             <END>%></END>
  406.         </SPAN>
  407.     </RULES>
  408.  
  409.     <RULES SET="ASPPL_TAGS" DEFAULT="MARKUP">
  410.         <!-- Server-side PerlScript -->
  411.         <SPAN TYPE="MARKUP" DELEGATE="perl::MAIN">
  412.             <BEGIN><%</BEGIN>
  413.             <END>%></END>
  414.         </SPAN>
  415.  
  416.         <SPAN TYPE="LITERAL1" DELEGATE ="ASPPL_LIT1">
  417.             <BEGIN>"</BEGIN>
  418.             <END>"</END>
  419.         </SPAN>
  420.  
  421.         <SPAN TYPE="LITERAL1" DELEGATE ="ASPPL_LIT1">
  422.             <BEGIN>'</BEGIN>
  423.             <END>'</END>
  424.         </SPAN>
  425.  
  426.         <SEQ TYPE="OPERATOR">=</SEQ>        
  427.     </RULES>
  428.  
  429.     <RULES SET="ASPPL_LIT1" DEFAULT="LITERAL1">
  430.         <!-- Server-side PerlScript -->
  431.         <SPAN TYPE="MARKUP" DELEGATE="perl::MAIN">
  432.             <BEGIN><%</BEGIN>
  433.             <END>%></END>
  434.         </SPAN>
  435.     </RULES>
  436.     
  437.     <!-- These three rules sets handle server side scripts being mixed into client side javascript -->
  438.     <RULES SET="ASPVB_CSJS">
  439.         <!-- Server-side VBScript -->
  440.         <SPAN TYPE="MARKUP" DELEGATE="vbscript::MAIN">
  441.             <BEGIN><%</BEGIN>
  442.             <END>%></END>
  443.         </SPAN>
  444.         <IMPORT DELEGATE="javascript::MAIN"/>
  445.     </RULES>
  446.     
  447.     <RULES SET="ASPJS_CSJS">
  448.         <!-- Server-side JavaScript -->
  449.         <SPAN TYPE="MARKUP" DELEGATE="javascript::MAIN">
  450.             <BEGIN><%</BEGIN>
  451.             <END>%></END>
  452.         </SPAN>
  453.         <IMPORT DELEGATE="javascript::MAIN"/>
  454.     </RULES>
  455.  
  456.     <RULES SET="ASPPL_CSJS">
  457.         <!-- Server-side PerlScript -->
  458.         <SPAN TYPE="MARKUP" DELEGATE="perl::MAIN">
  459.             <BEGIN><%</BEGIN>
  460.             <END>%></END>
  461.         </SPAN>
  462.         <IMPORT DELEGATE="javascript::MAIN"/>
  463.     </RULES>
  464.     
  465.     <!-- These three rules sets handle server side scripts being mixed into stylesheets -->
  466.     <RULES SET="ASPVB_STYLE">
  467.         <!-- Server-side VBScript -->
  468.         <SPAN TYPE="MARKUP" DELEGATE="vbscript::MAIN">
  469.             <BEGIN><%</BEGIN>
  470.             <END>%></END>
  471.         </SPAN>
  472.         <IMPORT DELEGATE="css::MAIN"/>
  473.     </RULES>
  474.     
  475.     <RULES SET="ASPJS_STYLE">
  476.         <!-- Server-side JavaScript -->
  477.         <SPAN TYPE="MARKUP" DELEGATE="javascript::MAIN">
  478.             <BEGIN><%</BEGIN>
  479.             <END>%></END>
  480.         </SPAN>
  481.         <IMPORT DELEGATE="css::MAIN"/>
  482.     </RULES>
  483.  
  484.     <RULES SET="ASPPL_STYLE">
  485.         <!-- Server-side PerlScript -->
  486.         <SPAN TYPE="MARKUP" DELEGATE="perl::MAIN">
  487.             <BEGIN><%</BEGIN>
  488.             <END>%></END>
  489.         </SPAN>
  490.         <IMPORT DELEGATE="css::MAIN"/>
  491.     </RULES>
  492.  
  493.     <!-- These three rules sets handle server side scripts being mixed into SGML Comments -->
  494.     <RULES SET="ASPVB_SGML" DEFAULT="COMMENT1">
  495.         <!-- Server-side VBScript -->
  496.         <SPAN TYPE="MARKUP" DELEGATE="vbscript::MAIN">
  497.             <BEGIN><%</BEGIN>
  498.             <END>%></END>
  499.         </SPAN>
  500.     </RULES>
  501.  
  502.     <RULES SET="ASPJS_SGML" DEFAULT="COMMENT1">
  503.         <!-- Server-side JavaScript -->
  504.         <SPAN TYPE="MARKUP" DELEGATE="javascript::MAIN">
  505.             <BEGIN><%</BEGIN>
  506.             <END>%></END>
  507.         </SPAN>
  508.     </RULES>
  509.  
  510.     <RULES SET="ASPPL_SGML" DEFAULT="COMMENT1">
  511.         <!-- Server-side PerlScript -->
  512.         <SPAN TYPE="MARKUP" DELEGATE="perl::MAIN">
  513.             <BEGIN><%</BEGIN>
  514.             <END>%></END>
  515.         </SPAN>
  516.     </RULES>
  517. </MODE>
  518.  
  519.